﻿using System;
using System.ComponentModel.DataAnnotations;

namespace nERP.Model
{
    public enum StatusTypeEnum
    {
        [Display(Name = "_Enum._StatusTypeEnum._Unaudited")]
        Unaudited,
        [Display(Name = "_Enum._StatusTypeEnum._Reviewed")]
        Reviewed
    }
    public enum CodeRuleEnum
    {
        [Display(Name = "_Enum._CodeRuleEnum._Fixeds")]
        Fixeds,
        [Display(Name = "_Enum._CodeRuleEnum._RuleFixed")]
        RuleFixed,
        [Display(Name = "_Enum._CodeRuleEnum._Serial")]
        Serial
    }
    public enum FixedEnum
    {
        [Display(Name = "_Enum._FixedEnum._yyyyMMdd")]
        yyyyMMdd,
        [Display(Name = "_Enum._FixedEnum._yyMMddhhmmss")]
        yyMMddhhmmss,
        [Display(Name = "_Enum._FixedEnum._yyyyMMddhhmmss")]
        yyyyMMddhhmmss,
        [Display(Name = "_Enum._FixedEnum._y")]
        y
    }
    public enum dStatusTypeEnum
    {
        [Display(Name = "_Enum._dStatusTypeEnum._Unaudited")]
        Unaudited,
        [Display(Name = "_Enum._dStatusTypeEnum._Reviewed")]
        Reviewed
    }
    public class RefDicNameAttribute : Attribute
    {
        public string Name { get; set; }
    }
}